﻿#ifndef DIALOG_CAN_SETTING_H
#define DIALOG_CAN_SETTING_H

#include <QDialog>
#include "qextserialenumerator.h"

namespace Ui {
	class DialogCanSetting;
}

class DialogCanSetting : public QDialog
{
	Q_OBJECT

public:
    explicit DialogCanSetting(int id, int board,QWidget* parent = nullptr);
	~DialogCanSetting();

    int port_id;
    int board_id;

	void initWnd();//初始化界面以及其他处理

    //QextSerialEnumerator* enumerator;//串口设备名枚举

private slots:
	void on_button_cancel_clicked();


    void on_button_ok_clicked();

private:
	Ui::DialogCanSetting* ui;
};

#endif // DIALOG_CAN_SETTING_H
